/*------------------------------------------------------------------------------------------------\
| Horrible X-Wing game by Steven Haber
| st_haber@hotmail.com
|
| menu.h: contains the class Menu, which displays a menu depending on the state of the program
\------------------------------------------------------------------------------------------------*/

#ifndef MENU_H
#define MENU_H

#include "xwing.h"

class Sound;

enum menus{STARTUP, INGAME, ENDGAME};

class Menu
{
public:
	Menu(sf::Sprite *sprites[], sf::RenderWindow *out, Sound *sounds);
	int showMenu(int whichMenu);

private:
	sf::Sprite mBackground;
	sf::Sprite mCursor;
	sf::String mTextTitle, mTextStartup1, mTextStartup2, mTextIngame1, mTextIngame2, mTextEndgame1, mTextEndgame2;

	sf::RenderWindow *mOut;
	sf::Clock mTimer;

	Sound *mSounds;
};

#endif